import service from "../utils/request";

export function goodsList(data){
    return service({
        url:"/user/apiExtShopGoods/list",
        method:"post",
        data
    })
}

// 获取商店列表
export function shopList(data){
    return service({
        url:"/user/apiExtShopSub/list",
        method:"post",
        data
    })
}

export function goodsCateList(data){
    return service({
        url:"/user/apiExtShopGoodsCategory/list",
        method:"post",
        data
    })
}

// 商品类别添加
export function goodsAdd(data){
    return service({
        url:"/user/apiExtShopGoodsCategory/save",
        method:"post",
        data
    })
}

// 商品添加
export function goodsListAdd(data){
    return service({
        url:"/user/apiExtShopGoods/save",
        method:"post",
        data
    })
}